/***************************************************************************
 *   Copyleft 2006-2007 by												   *
 *	 Iwanicki Krzysztof													   *
 *   <gamma.mini.pw.edu.pl/~iwanickik>									   *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 *   This program is distributed in the hope that it will be useful,       *
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
 *   GNU General Public License for more details.                          *
 ***************************************************************************/
#ifndef __BASICCURVE_H__
#define __BASICCURVE_H__

#include "../Object3D.h"
#include "./AbstractCurve.h"
#include "../../../Utils/DynamicArray.h"


class BasicCurve: public AbstractCurve {
private:
	DynamicArray<Point4D> mPoints;
public:

    /**************************************************************
    * Constructors                                                *
    ***************************************************************/
    BasicCurve();
	virtual ~BasicCurve() { } 
        
    /**************************************************************
    * Operators                                                   *
    ***************************************************************/


    /**************************************************************
    * Other helpful functions                                     *
    ***************************************************************/
	virtual Point4D GetCurvePoint(cInt iIndex);
	virtual cInt GetCurveNrOfPoints();
	virtual cVoid AddPoint(const Point4D& point);

	virtual cVoid Render(Renderer& renderer, Matrix4D& matrix, ProjectionPlane& plane, cWinColor color);
};                                                                 

#endif // __BASICCURVE_H__